﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="eProjectRailWayReservation.Admin.Login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">

    <title> Administrator</title> 
      
    <link rel="stylesheet" href="../Stylesheets/admin_css/style1.css" type="text/css" media="screen" />
    <link rel="stylesheet" href="../Stylesheets/admin_css/common.css" type="text/css" media="screen" />
       
</head>

<link href="../Stylesheets/admin_css/template_css.css" rel="stylesheet" type="text/css">

<style type="text/css">
        
        html{
	        margin: 0 auto;
        }
        body {
	        font-family:arial,tahoma,verdana,helvetica,sans-serif;
	        font-size:11px;
	        text-align:center;
	        background:#e1e1e1 url(../Images/admin_img/bg_main.jpg) repeat-x;
	        line-height:22px;
	        color:#000000;
	        font-weight:bold;
	        margin-left: 0px;
	        margin-top: 77px;
	        margin-right: 0px;
	        margin-bottom: 0px;
        }
        #clear{
	        clear: both;
	        height:5px;
        }
        #table_main{
	        margin: 0 auto;
	        width:565px;
	        height:297px;
	        text-align:left;
	        background:url(../Images/admin_img/center.jpg) repeat-x;
        }
        #left{
	        width:15px;
	        height:297px;
	        float:left;
	        background:url(../Images/admin_img/left.jpg) no-repeat;

        }
        #right{
	        width:15px;
	        height:297px;
	        float:right;
	        background:url(../Images/admin_img/right.jpg) no-repeat;

        }
        #center{
	        height:298px;
	        margin-left:15px;
	        background:url(../Images/admin_img/center.jpg) repeat-x;
	        vertical-align:top;

        }
        #img_left{
	        width:148px;
	        height:297px;
	        vertical-align:top;
	        background:url(../Images/admin_img/img_left.jpg) no-repeat left;

        }
        #content{
	        width:375px;
	        float:right;

        }
        #logo{
	        width:203px;
	        height:85px;
	        background-image:url(../Images/admin_img/name_top.jpg);

        }
        #text{
	        width:305px;
	        height:194px;
	        vertical-align:top;
        }       
        .fro{
	        width:180px;
        }            
        .errmsg
        {
            color:#ff0000;
        }
    .style1
    {
        height: 35px;
    }
    .style2
    {
        height: 35px;
        width: 82px;
    }
    .style3
    {
        width: 82px;
    }
    </style>
    
<body>
    <table width="70%"  border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
    <td>
		<table width="100%" height="91%" border="0" cellpadding="0" cellspacing="0">
    <tr>
    <td><div id="table_main">
      <div id="left"> </div>
      <div id="right"> </div>
      <div id="center">
        <div id="content">
          <div id="logo"> </div>
          <div id="errmsg" class="errmsg" style="padding-right:70px;">
          <div id="text">
            <form id="form1" runat="server">
            <input name="mod" type="hidden" id="Hidden1" value="">
            <div>
            <input type="hidden" name="login" value="yes">
              <table align="center" border="0" cellpadding="0" cellspacing="0" width="305">
                <tbody>
                  <tr>
                    
                    <td width="33"  colspan="5"  align="center" class="login-errormsg">
					<b></b>
			        </td>
                    
                  </tr>
				  	
                  <tr>
                    <td class="style1"><img src="../Images/admin_img/h_user.jpg" width="27" height="29" /></td>
                    <td class="style2"><span id="username">User Name&nbsp;&nbsp; </span>
                        <span style="color: #ffffff">
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                            ControlToValidate="txtUsername" ErrorMessage="RequiredFieldValidator">*</asp:RequiredFieldValidator>
                        </span></td>
                    <td colspan="3" style="text-align: right;" class="style1">	<asp:TextBox ID="txtUsername" runat="server" size="25" style="font-family:Verdana; font-size:12px; border:1px solid #CCCCCC;"></asp:TextBox></td>
                  </tr>
                  <tr>
                    <td><img src="../Images/admin_img/h_pass.jpg" width="27" height="29" /></td>
                    <td class="style3"><span id="password">Password&nbsp;&nbsp;&nbsp; </span>
                        <span style="color: #ffffff">
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                            ControlToValidate="txtPassword" ErrorMessage="RequiredFieldValidator">*</asp:RequiredFieldValidator>
                        </span></td>
                    <td colspan="3" style="text-align: right;">	<asp:TextBox ID="txtPassword" 
                            runat="server" size="25" 
                            style="font-family:Verdana; font-size:12px; border:1px solid #CCCCCC;" 
                            TextMode="Password"></asp:TextBox></td>
                  </tr>

                  <tr>
                    <td colspan="5" style="padding-left: 112px; text-align: right;" height="35"><input name="mod" type="hidden" id="mod" value="">&nbsp;<asp:Button 
                            ID="btnLogin" runat="server" Text="Login" onclick="btnLogin_Click" />
                                                                </td>
                  </tr>
                  
                  <tr>
                    <td colspan="3">
                                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                    <asp:Label ID="lblError" runat="server" ForeColor="#FF0000"></asp:Label>&nbsp;</td>
                  </tr>
                </tbody>
              </table>       
              </div>
               </form>
            </div>
            
          </div>
        </div>
        <div id="img_left"> </div>
      </div>
    </div></td>
  </tr>
  <tr>
    <td align="center">Copyright @ 2011, Allright Reserved. Designed by <a href="http://aptech.ac.vn/" target="_blank">C0904M_Group 2, FPT-Aptech</a> </td>
  </tr>
  <tr>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td align="right">&nbsp;</td>
  </tr>
</table>
	</td>
</tr>
</table>
     
</body>
</html>
